using System;
using System.Data;
using System.Diagnostics;
using System.Collections;
using PetShop.Domain.Model;
using PetShop.Infrastructure.NHibernate;
using NHibernate;



namespace PetShop.Infrastructure.Gateways
{

	public class OrderGateway {

		
	

        private readonly ISession _session;

        public OrderGateway()
        {
            _session = NHibernateHttpModule.CurrentSession; 
        }

		public void Insert(Order order) {
          
            _session.SaveOrUpdate(order);
          
    
		}
	}
}
